const fs = require('fs');
const wasmCode = fs.readFileSync('Wasm.wasm');

function aa(page) {
    WebAssembly.instantiate(wasmCode, {
        "env": {},
        "wasi_snapshot_preview1": {}
    }).then(result => {
        const instance = result.instance;
        const exportedFunc = instance.exports;
        console.log(exportedFunc.encrypt(page, parseInt(Math.round((new Date).getTime() / 1e3).toString())));
    })
}

aa(70)
